.file-name-icon {
  display: inline-block;
  text-align: center;
  width: 20px;
  height: 20px;
  vertical-align: middle;

  // 对部分icon对齐的hack
  &.text-icon::before {
    padding-left: 4px;
  }
  &.code-icon::before {
    padding-left: 2px;
  }
  &.book-icon::before {
    margin-left: -1px;
  }
  &.database-icon::before {
    padding-left: 4px;
  }
  &.gear-icon::before {
    padding-left: 2px;
  }
}
